<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="easyui/themes/jquery-3.3.1.min.js"></script>
    <script src="easyui/themes/jquery.easyui.min.js"></script>
    <title>Title</title>
</head>
<script>

</script>
<body>
<form id="taskDataForm" name="myform">
    <div>
        <select name="team">
            <option value="1">gtrs</option>
            <option value="2">tyu</option>
        </select>
    </div>
    <div>
        <select id="state">
            <option value="1">NEW</option>
            <option value="2">DEBUG</option>
            <option value="3">ACTIVE</option>
        </select>
    </div>
    <div>
        <input value="" id="input" name="input2">筛选框
    </div>
    <div>
        <label></label>
        <span></span>
    </div>
</form>
<div id="InfoAnalysisAnalysis-dialog" onclick="dialogD()">

</div>
<div>
    <button value="删除" onclick="deleteTask()" id="del"></button>
</div>

<input id="text" name="type" >
<script>


    $("#del").html("删除");//标签体内容
    $("#text").val("删除");//输入框内容
    //$("#state").combobox('setValue',3);
    //$("input[name='input2']").val(90);
    var id = 10;
    document.myform.input2.value=id;
    document.myform.team.value=2;

    function deleteTask() {
      if (confirm("是否要删除")) {
          debugger;
          $.ajax({
              url:"/service",
              type:"post",
              data:{"username":"张三","password":"123"}
          })
      }

      
    }

    //A页面打开的dialog
    function dialogD() {
        var param = 100;

        debugger;
        $("#InfoAnalysisAnalysis-dialog").dialog({
            title: 'easyUI',
            width: 750,
            height: 400,
            modal: true,
            queryParams: {submitURL: 12},  //传递参数
            href: "./jqueryDemo.html"
        });
        $("#InfoAnalysisAnalysis-dialog").dialog("open"); // 打开dialog
        $('#InfoAnalysisAnalysis-dialog').window('center')
    };



</script>

</body>
</html>